﻿<%@ Control Language="C#" ClassName="PaymentAccountFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataPaymentAccount" runat="server" Text="Payment Account:" AssociatedControlID="dataPaymentAccount" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPaymentAccount" Text='<%# Bind("PaymentAccount") %>' MaxLength="50"  CssClass="text-input large-input"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataPaymentAccount" runat="server" Display="Dynamic" ControlToValidate="dataPaymentAccount" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTitle" runat="server" Text="Title:" AssociatedControlID="dataTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTitle" Text='<%# Bind("Title") %>' MaxLength="100" CssClass="text-input large-input"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCurrentBalance" runat="server" Text="Current Balance:" AssociatedControlID="dataCurrentBalance" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCurrentBalance" Text='<%# Bind("CurrentBalance") %>'  CssClass="text-input large-input"></asp:TextBox><asp:RangeValidator ID="RangeVal_dataCurrentBalance" runat="server" Display="Dynamic" ControlToValidate="dataCurrentBalance" ErrorMessage="Invalid value" MaximumValue="999999999" MinimumValue="-999999999" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


